package cn.findviewbydream.service;

import cn.findviewbydream.entity.UserEntity;

import javax.servlet.http.HttpSession;

/**********************************
 * 工程：who
 * 作者：白雨濃 evil
 * 时间：2017/4/9 14:37
 * 邮箱：evilbai@foxmail.com
 * 内容：
 *********************************/
public interface LoginService
{
    public UserEntity login(String userId, String password);

    public boolean register(UserEntity entity);

    public UserEntity getUser(String userId, HttpSession session) throws Exception;
}
